<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Ohne_Titel_1</title>
</head>

<body>

<form method="post" action="test3.php" name="Form1">

<input type="text" name="text1" value="Das ist Text 1">
<input type="submit" name="submit" onclick="document.form2.text2.submit();" value="Speichern">
</form>




<form action="test3.php" method="post" name="Form2">

<input type="text" name="text2" value="Das ist Text 2">
<input type="submit" name="submit" value="Speichern">
</form>


<?php


$Text1 = $_POST['text1'];
$Text2 = $_POST['text2'];


echo $Text1;
echo $Text2;

?>
</body>

</html>
